import BasicLayout from '@/layouts/BasicLayout';
import Screen from '@/pages/Screen';
import Promotion from '@/pages/Promotion';
import Store from '@/pages/Store';
import VideoLib from '@/pages/VideoLib';
import ImageLib from '@/pages/ImageLib';
/*
import VideoCast from '@/pages/VideoCast';
import ImageCast from '@/pages/ImageCast';
import NoticeCast from '@/pages/NoticeCast';
*/

const routerConfig = [
  {
    path: '/',
    component: BasicLayout,
    children: [
      { path: '/screen', component: Screen },
      { path: '/promotion', component: Promotion },
      { path: '/store', component: Store },
      { path: '/video-lib', component: VideoLib },
      { path: '/image-lib', component: ImageLib },
      /*
      { path: '/video-cast', component: VideoCast },
      { path: '/image-cast', component: ImageCast },
      { path: '/notice-cast', component: NoticeCast },
      */
      { path: '/', redirect: '/screen' },
    ],
  },
];

export default routerConfig;
